Diagrammatic Differentiation for Quantum Machine Learning
نویسندگان
چکیده
We introduce diagrammatic differentiation for tensor calculus by generalising the dual number construction from rigs to monoidal categories. Applying this ZX diagrams, we show how calculate diagrammatically gradient of a linear map with respect phase parameter. For diagrams parametrised quantum circuits, get well-known parameter-shift rule at basis many variational algorithms. then extend our method automatic differentation hybrid classical-quantum using bubbles encode arbitrary non-linear operators. Moreover, comes an open-source implementation in DisCoPy, Python library Diagrammatic gradients circuits can be simplified PyZX and executed on hardware via tket compiler. This opens door practical applications harnessing both structure string computational power machine learning.
منابع مشابه
Quantum adiabatic machine learning
We develop an approach to machine learning and anomaly detection via quantum adiabatic evolution. In the training phase we identify an optimal set of weak classifiers, to form a single strong classifier. In the testing phase we adiabatically evolve one or more strong classifiers on a superposition of inputs in order to find certain anomalous elements in the classification space. Both the traini...
متن کاملAutomatic Differentiation of Algorithms for Machine Learning
Automatic differentiation—the mechanical transformation of numeric computer programs to calculate derivatives efficiently and accurately—dates to the origin of the computer age. Reverse mode automatic differentiation both antedates and generalizes the method of backwards propagation of errors used in machine learning. Despite this, practitioners in a variety of fields, including machine learnin...
متن کاملQuantum-enhanced machine learning
The emerging field of quantum machine learning has the potential to substantially aid in the problems and scope of artificial intelligence. This is only enhanced by recent successes in the field of classical machine learning. In this work we propose an approach for the systematic treatment of machine learning, from the perspective of quantum information. Our approach is general and covers all t...
متن کاملQuantum machine learning
Machine learning techniques are applied for solving a large variety of practical problems. The tasks attacked by machine learning algorithms include classification, regression, pattern recognition, etc. Traditionally, machine learning algorithms are divided into two groups depending on the nature of training data: supervised and unsupervised. Supervised machine learning algorithms take on the i...
متن کاملMachine learning for precise quantum measurement.
Adaptive feedback schemes are promising for quantum-enhanced measurements yet are complicated to design. Machine learning can autonomously generate algorithms in a classical setting. Here we adapt machine learning for quantum information and use our framework to generate autonomous adaptive feedback schemes for quantum measurement. In particular, our approach replaces guesswork in quantum measu...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Electronic proceedings in theoretical computer science
سال: 2021
ISSN: ['2075-2180']
DOI: https://doi.org/10.4204/eptcs.343.7